.container {
  height: 100vh;
  width: 100vw;
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: block;
}
.topBar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0.18rem 0.18rem 0.12rem 0.18rem;
  background: rgba(30,30,40,0.55);
  backdrop-filter: blur(8px);
  border-radius: 0 0 0.32rem 0.32rem;
  box-shadow: 0 2px 16px #0003;
}
.anchorAvatar {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-right: 0.12rem;
  border: 2px solid #fff3;
}
.topInfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 0.12rem;
}
.anchorName {
  font-weight: bold;
  font-size: 0.32rem;
  color: #fff;
}
.likeCount {
  font-size: 0.22rem;
  color: #aaa;
}
.followBtn {
  background: linear-gradient(90deg,#ff2d55,#ff5e3a 80%);
  color: #fff;
  border: none;
  border-radius: 0.32rem;
  padding: 0.08rem 0.28rem;
  font-weight: bold;
  font-size: 0.24rem;
  margin-right: 0.12rem;
  cursor: pointer;
}
.viewerList {
  display: flex;
  align-items: center;
  gap: -0.18rem;
}
.viewerAvatar {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -0.18rem;
  background: #fff;
}
.viewerCount {
  margin-left: 0.18rem;
  font-size: 0.26rem;
  color: #fff;
  background: #444a;
  border-radius: 0.2rem;
  padding: 0.04rem 0.16rem;
}
.liveMain {
  flex: 1;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181818;
}
.bgImg {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: brightness(1.08) saturate(1.1);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.bottomPanel {
  width: 100vw;
  background: #232323;
  box-sizing: border-box;
  padding: 0.12rem 0.12rem 0.08rem 0.12rem;
  border-radius: 0.24rem 0.24rem 0 0;
  box-shadow: 0 -2px 12px #0003;
}
.messageList {
  position: absolute;
  left: 0;
  width: 100vw;
  bottom: 3.1rem;
  max-height: 3.8rem;
  overflow-y: auto;
  z-index: 12;
  padding: 0 0.18rem;
  display: flex;
  flex-direction: column;
  gap: 0.10rem;
}
.messageItem {
  display: inline-block;
  font-size: 0.28rem;
  background: #3a2d2d;
  color: #ffe082;
  border-radius: 0.18rem;
  padding: 0.08rem 0.18rem;
  margin-bottom: 0.06rem;
  max-width: 90vw;
  word-break: break-all;
}
.messageItem.normal {
  background: #232323;
  color: #ffe082;
}
.messageItem.follow {
  background: #232323;
  color: #ffecb3;
}
.messageItem.danmu {
  background: #3a2d2d;
  color: #fff;
}
.inputBar {
  position: absolute;
  left: 0;
  width: 100vw;
  bottom: 0.12rem;
  background: rgba(30,30,40,0.65);
  backdrop-filter: blur(8px);
  padding: 0.22rem 0.18rem;
  display: flex;
  align-items: center;
  z-index: 20;
  border-radius: 0.32rem 0.32rem 0 0;
  box-shadow: 0 -2px 16px #0003;
}
.input {
  flex: 1;
  border: none;
  border-radius: 0.32rem;
  padding: 0.14rem 0.22rem;
  font-size: 0.28rem;
  background: #444;
  color: #fff;
  margin-right: 0.08rem;
}
.inputBtn {
  background: #444;
  border: none;
  border-radius: 50%;
  width: 0.56rem;
  height: 0.56rem;
  font-size: 0.32rem;
  color: #ff2d55;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.04rem;
  cursor: pointer;
}
.sendBtn {
  background: linear-gradient(90deg,#ff2d55,#ff5e3a 80%);
  color: #fff;
  border: none;
  border-radius: 0.32rem;
  padding: 0.12rem 0.32rem;
  font-size: 0.28rem;
  font-weight: bold;
  cursor: pointer;
}
.rightBtns {
  position: absolute;
  right: 0.18rem;
  top: 32%;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  background: rgba(30,30,40,0.55);
  border-radius: 0.32rem;
  box-shadow: 0 2px 16px #0003;
  padding: 0.18rem 0.12rem;
  align-items: center;
}
.linkBtn {
  position: absolute;
  right: 0.32rem;
  bottom: 0.32rem;
  z-index: 30;
  background: linear-gradient(90deg,#ff2d55,#ff5e3a 80%);
  color: #fff;
  border: none;
  border-radius: 0.36rem;
  padding: 0.18rem 0.48rem;
  font-size: 0.38rem;
  font-weight: bold;
  box-shadow: 0 2px 12px #ff2d5540;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.linkBtn:hover {
  background: linear-gradient(90deg,#ff5e3a,#ff2d55 80%);
  box-shadow: 0 4px 18px #ff2d5580;
}
.linkWindow {
  position: absolute;
  right: 0.36rem;
  bottom: 1.2rem;
  z-index: 40;
  background: #222d;
  border-radius: 0.32rem;
  box-shadow: 0 4px 24px #0008;
  padding: 0.12rem 0.12rem 0.08rem 0.12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.linkVideo {
  width: 3.2rem;
  height: 4.2rem;
  border-radius: 0.32rem;
  background: #000;
  box-shadow: 0 2px 12px #0008;
  margin-bottom: 0.08rem;
}
.linkControls {
  display: flex;
  gap: 0.12rem;
  margin-bottom: 0.04rem;
}
.linkModalMask {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.linkModal {
  background: #232323;
  border-radius: 0.32rem;
  padding: 1.2rem 1.2rem 1rem 1.2rem;
  box-shadow: 0 4px 24px #0008;
  min-width: 6rem;
  max-width: 90vw;
  text-align: center;
}
@media (max-width: 430px) {
  .container {
    max-width: 100vw;
    min-width: 100vw;
    border-radius: 0;
    display: block;
  }
  .topBar,
  .inputBar,
  .messageList {
    max-width: 100vw;
    width: 100vw;
    left: 0;
    transform: none;
    border-radius: 0;
    padding-left: 0.08rem;
    padding-right: 0.08rem;
  }
  .topBar {
    padding: 0.24rem 0.08rem 0.12rem 0.08rem;
  }
  .inputBar {
    padding-bottom: calc(env(safe-area-inset-bottom, 0) + 0.12rem);
    min-height: 1.1rem;
    padding-top: 0.18rem;
  }
  .rightBtns {
    right: 0.08rem;
    padding: 0.12rem 0.04rem;
    gap: 0.48rem;
  }
  .anchorAvatar {
    width: 1.2rem;
    height: 1.2rem;
  }
  .viewerAvatar {
    width: 0.9rem;
    height: 0.9rem;
  }
  .input {
    font-size: 0.48rem;
    padding: 0.22rem 0.28rem;
    min-height: 1rem;
    border-radius: 0.6rem;
  }
  .inputBtn {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.7rem;
    margin-right: 0.18rem;
    border-radius: 0.6rem;
  }
  .sendBtn {
    font-size: 0.52rem;
    padding: 0.22rem 0.68rem;
    border-radius: 0.6rem;
  }
  .messageItem {
    font-size: 0.52rem;
    padding: 0.18rem 0.38rem;
    border-radius: 0.36rem;
    margin-bottom: 0.12rem;
  }
  .linkBtn {
    right: 0.12rem;
    bottom: 0.12rem;
    font-size: 0.62rem;
    padding: 0.28rem 0.68rem;
    border-radius: 0.6rem;
  }
  .linkWindow {
    right: 0.12rem;
    bottom: 1.6rem;
    border-radius: 0.6rem;
    padding: 0.18rem 0.18rem 0.12rem 0.18rem;
  }
  .linkVideo {
    width: 4.2rem;
    height: 6.2rem;
    border-radius: 0.6rem;
  }
  .linkControls button {
    font-size: 0.48rem;
    padding: 0.18rem 0.38rem;
    border-radius: 0.6rem;
  }
  .linkModal {
    padding: 1.2rem 0.4rem 1rem 0.4rem;
    min-width: 80vw;
    font-size: 0.52rem;
  }
} 